package com.simple.crawler.annotation;

import com.simple.crawler.core.resolver.Resolver;
import com.simple.crawler.core.resolver.ext.JQuery;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface Setter {

    String name() default "";

    String cacheKey() default "";

    Class<? extends Resolver> resolver() default JQuery.class;

    String expr();

    String prefix() default "";

    String suffix() default "";

}
